import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
    {
        name: "home",
        path: "/home",
        component: () => import("@/views/Home/Home.vue")
    },
    {
        name: "car",
        path: "/car",
        component: () => import("@/views/Car/CarList.vue")
    },
]

const router = new VueRouter({
    routes
})

export default router
